#ifndef __TIMTER_H__
#define __TIMTER_H__
#include "io430.h"

#define MaxCount (60*1000-1)   // 50MinCount 
#define MinCount (4*1000-1)    // 1k


extern unsigned int V_COUNTER;
extern unsigned int T_HZ;

extern unsigned int time_count;
extern char start_count;

void TimerA1Init(void);


extern unsigned int cycle[2];

extern int state_ok;
void TimerB1Init_captrue();


#endif